package net.skyaims.sqlmgr.config;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

import lombok.Getter;

import org.codehaus.jackson.annotate.JsonProperty;

import com.yammer.dropwizard.config.Configuration;
import com.yammer.dropwizard.db.DatabaseConfiguration;

public class DispatchConfiguration extends Configuration {

	@Valid
	@NotNull
	@JsonProperty
	@Getter
	private DatabaseConfiguration allotDatabase = new DatabaseConfiguration();

	@Valid
	@NotNull
	@JsonProperty
	@Getter
	private DatabaseConfiguration liveRoomCenterDatabase = new DatabaseConfiguration();

}
